home *** CD-ROM | disk | FTP | other *** search
/ CD BIT 75 / CD BIT 75.iso / Software / ooo / f_0020 / sbasic.jar / text / sbasic / common / 01030200.xml < prev    next >
Encoding:
Extensible Markup Language  |  2003-08-01  |  6.8 KB  |  76 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>The Basic Editor</title><meta name="filename" content="text/sbasic/common/01030200"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle3{
  5.                 }
  6.         span.Tabelle3A{
  7.                 width:1.499cm;}
  8.         span.Tabelle3B{
  9.                 width:16.501cm;}
  10.         td.Tabelle3A1{
  11.                 }
  12.         p.P1{
  13.                 }
  14.         p.P2{
  15.                 }
  16.         p.P3{
  17.                 }
  18.         span.T1{
  19.                 font-weight:bold;}
  20.         span.T2{
  21.                 font-style:italic;}
  22.         span.fr1{
  23.                 }
  24.         </style></head><body>
  25.   
  26.   
  27.   <help:paragraphinfo state="E" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="basiceditor" xmlns:help="http://openoffice.org/2000/help">
  28.   <p class="Head1"><help:paragraphinfo state="U" number="1"/><help:key-word value="editor; for Basic programs" tag="kw66459_1"/><help:link Id="66459">The Basic Editor</help:link></p>
  29.   <help:paragraphinfo state="E"/></help:to-be-embedded>
  30.   <p class="Paragraph"><help:paragraphinfo state="U" number="3" xmlns:help="http://openoffice.org/2000/help"/>The Basic Editor provides the standard editing functions you are familiar with when working in a text document. It supports the functions of the <span class="T1">Edit</span> menu (Cut, Delete, Paste), the ability to select text with the Shift key, as well as cursor positioning functions (for example, moving from word to word with <help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">Option</help:case><help:default>Ctrl</help:default></help:switch> and the arrow keys).</p>
  31.   <p class="Paragraph"><help:paragraphinfo state="U" number="31" xmlns:help="http://openoffice.org/2000/help"/>Long lines can be split into several parts by inserting an underline character _ as the last character of a line. This connects the line with the following line to one logical line.</p>
  32.   <p class="Paragraph"><help:paragraphinfo state="U" number="32" xmlns:help="http://openoffice.org/2000/help"/>If you press the <span class="T1">Run</span> icon in the Object bar, program execution starts at the first line of the Basic editor. The "Sub Main" does <span class="T2">not</span> take precedence on program execution.</p>
  33.   <p class="Head2"><help:paragraphinfo state="U" number="4" xmlns:help="http://openoffice.org/2000/help"/>Navigating in a Project</p>
  34.   <p class="Head3"><help:paragraphinfo state="U" number="6" xmlns:help="http://openoffice.org/2000/help"/>The Library List</p>
  35.   <p class="Paragraph"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/>Select a library from the <span class="T1">Library</span> list at the left of the toolbar to load the library in the editor. The first module of the selected library will be displayed.</p>
  36.   <p class="Head3"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/>The Object Catalog</p>
  37.   <help:paragraphinfo state="E" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="66465" Eid="object_catalog" xmlns:help="http://openoffice.org/2000/help"/>
  38.   <p class="Head2"><help:paragraphinfo state="U" number="15" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="saving; Basic code" tag="kw66459_4" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="Basic code; loading and saving" tag="kw66459_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="loading; Basic code" tag="kw66459_2" xmlns:help="http://openoffice.org/2000/help"/>Saving and Loading Basic Source Code</p>
  39.   <p class="Paragraph"><help:paragraphinfo state="U" number="16" xmlns:help="http://openoffice.org/2000/help"/>You can save Basic code in a text file for saving and importing in other programming systems.</p>
  40.   <table><tr class=""><th class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3A">
  41.       <p class="TextInTable"><draw:image draw:name="Icon0" svg:desc="Warning Icon" svg:pixelx="32" svg:pixely="32" svg:width="0.847cm" svg:height="0.847cm" xlink:href="65640" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  42.  
  43.      </span></th><th class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3B">
  44.       <p class="TextInTable"><help:paragraphinfo state="U" number="25" xmlns:help="http://openoffice.org/2000/help"/>You cannot save Basic dialogs to a text file.</p>
  45.      </span></th></tr></table>
  46.   <p class="Head3"><help:paragraphinfo state="U" number="17" xmlns:help="http://openoffice.org/2000/help"/>Saving Source Code to a Text File</p>
  47.   <ol class="L1">
  48.    <li class="">
  49.     <p class="P2"><help:paragraphinfo state="U" number="18" xmlns:help="http://openoffice.org/2000/help"/>Select the module that you want to export as text from the object catalog.</p>
  50.    </li>
  51.    <li class="">
  52.     <p class="P2"><help:paragraphinfo state="U" number="19" xmlns:help="http://openoffice.org/2000/help"/>Click the <span class="T1">Save Source As</span> icon in the Macro toolbar.</p>
  53.    </li>
  54.    <li class="">
  55.     <p class="P2"><help:paragraphinfo state="U" number="20" xmlns:help="http://openoffice.org/2000/help"/>Select a file name and click <span class="T1">OK</span> to save the file.</p>
  56.    </li>
  57.   </ol>
  58.   <p class="Head3"><help:paragraphinfo state="U" number="21" xmlns:help="http://openoffice.org/2000/help"/>Loading Source Code From a Text File</p>
  59.   <ol class="L2">
  60.    <li class="">
  61.     <p class="P3"><help:paragraphinfo state="U" number="22" xmlns:help="http://openoffice.org/2000/help"/>Select the module where you want to import the source code from the object catalog.</p>
  62.    </li>
  63.    <li class="">
  64.     <p class="P3"><help:paragraphinfo state="U" number="23" xmlns:help="http://openoffice.org/2000/help"/>Position the cursor where you want to insert the program code.</p>
  65.    </li>
  66.    <li class="">
  67.     <p class="P3"><help:paragraphinfo state="U" number="24" xmlns:help="http://openoffice.org/2000/help"/>Click the <span class="T1">Insert Source Text</span> icon in the Macro toolbar.</p>
  68.    </li>
  69.    <li class="">
  70.     <p class="P3"><help:paragraphinfo state="U" number="33" xmlns:help="http://openoffice.org/2000/help"/>Select the text file containing the source code and click <span class="T1">OK</span>.</p>
  71.    </li>
  72.   </ol>
  73.   <p class="ParaList"><help:paragraphinfo state="U" number="30" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Related Topics</span></p>
  74.   <p class="ParaList"><help:paragraphinfo state="U" number="29" xmlns:help="http://openoffice.org/2000/help"/><help:link Id="66496" xmlns:help="http://openoffice.org/2000/help">Basic IDE</help:link></p>
  75.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="66465" Eid="01020200" xmlns:help="http://openoffice.org/2000/help"/></p>
  76.  </body></html>